package com.insuremonitor.system.domain;

import com.insuremonitor.common.annotation.Excel;
import com.insuremonitor.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 保险模板信息对象 front_insure_template
 * 
 * @author ruoyi
 * @date 2023-12-06
 */
public class FrontInsureTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保险模板ID */
    private Long insureTemplateId;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 模板code */
    @Excel(name = "模板code")
    private String templateCode;

    /** 状态（0停用 1正常） */
    @Excel(name = "状态", readConverterExp = "0=停用,1=正常")
    private String status;

    public void setInsureTemplateId(Long insureTemplateId) 
    {
        this.insureTemplateId = insureTemplateId;
    }

    public Long getInsureTemplateId() 
    {
        return insureTemplateId;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setTemplateCode(String templateCode) 
    {
        this.templateCode = templateCode;
    }

    public String getTemplateCode() 
    {
        return templateCode;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("insureTemplateId", getInsureTemplateId())
            .append("templateName", getTemplateName())
            .append("templateCode", getTemplateCode())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
